package com.jumi.microservice.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;

/**
 * @author by  mazhao
 * @Date 2020-10-06 
 */

@TableName("replacement_goods")
public class ReplacementGoods {

	/**
	 * ID
	 */
   @TableId(value = "id",type = IdType.AUTO)
	private Integer id;

	/**
	 * 换货ID
	 */
	private Integer replacementId;

	/**
	 * 原始订单ID
	 */
	private Integer originalOrderId;

	/**
	 * 商品ID
	 */
	private Integer goodsId;

	/**
	 * 换货商品数量
	 */
	private Integer goodsNum;

	/**
	 * 换货类型: 0-做单/登记失误 1-仓储发货原因 2-快递原因 3-产品原因 4-顾客自身原因
	 */
	private Byte replacementType;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**
	 * 删除标记: 0-正常 1-删除
	 */
	private Byte delFlag;

	/**
	 * 自营标识: 0-非自营 1-自营
	 */
	private Byte selfFlag;

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getReplacementId() {
		return this.replacementId;
	}

	public void setReplacementId(Integer replacementId) {
		this.replacementId = replacementId;
	}

	public Integer getOriginalOrderId() {
		return this.originalOrderId;
	}

	public void setOriginalOrderId(Integer originalOrderId) {
		this.originalOrderId = originalOrderId;
	}

	public Integer getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public Integer getGoodsNum() {
		return this.goodsNum;
	}

	public void setGoodsNum(Integer goodsNum) {
		this.goodsNum = goodsNum;
	}

	public Byte getReplacementType() {
		return this.replacementType;
	}

	public void setReplacementType(Byte replacementType) {
		this.replacementType = replacementType;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Byte getDelFlag() {
		return this.delFlag;
	}

	public void setDelFlag(Byte delFlag) {
		this.delFlag = delFlag;
	}

	public Byte getSelfFlag() {
		return this.selfFlag;
	}

	public void setSelfFlag(Byte selfFlag) {
		this.selfFlag = selfFlag;
	}

}
